<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>品优购-列表页面</title>
    <!-- 需要引入的css -->
    <link rel="stylesheet" href="../lib/fontawesome/css/font-awesome.css">
    <link rel="stylesheet" href="../lib/mui/css/mui.css">
    <!-- 项目的公共的样式文件 scss  -->
    <link rel="stylesheet" href="../css/common.css">
    <link rel="stylesheet" href="../css/base.css">
    <!-- 自己页面的样式文件 scss -->
    <link rel="stylesheet" href="../css/presentation.css">

</head>


<body>
    <!-- 头部 -->
    <header class="pyg_header mui-bar mui-bar-nav">
        <h1 class="mui-title">商品列表</h1>
        <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
        <a class="mui-icon mui-icon-bars mui-pull-right"></a>
    </header>
    <!-- 内容 -->
    <div class="pyg_view">
        <!-- mui的组件的html布局类似 iscroll -->
        <div>
            <ul class="goods_list">
                <!-- 模板站位 -->
            </ul>
        </div>
    </div>
    <!-- 尾部 -->
    <footer class="pyg_footer">
        <a href="../index.html">
            <span class="fa fa-home"></span>
            <div>首页</div>
        </a>
        <a href="pages/category.html">
            <span class="fa fa-list-ul"></span>
            <div>分类</div>
        </a>
        <a href="javascript:;">
            <span class="fa fa-cart-plus"></span>
            <div>购物车</div>
        </a>
        <a href="javascript:;">
            <span class="fa fa-user"></span>
            <div>我的</div>
        </a>
    </footer>

</body>

<script type="text/template" id="proTemp">
    {{each arr value index}}
    <li>
        <a href="javascript:;">
            <div class="item_left">
                <img src="{{value.goods_small_logo}}" alt="">
            </div>
            <div class="item_right">
                <div class="goods_name">
                    {{value.goods_name}}
                </div>
                <div class="goods_price">
                    ￥{{value.goods_price}}
                </div>
            </div>
        </a>
    </li>
    {{/each}}
</script>


<script src="../lib/mui/js/mui.js"></script>
<script src="../lib/zepto/zepto.js"></script>
<script src="../lib/arttemplate/template-web.js"></script>
<script src="../lib/iscroll/iscroll.js"></script>
<script src="../js/common.js"></script>
<script src="../js/present_list.js"></script>

</html>